package com.zqh.part02

object MultiplicationTable {

  def main(args: Array[String]): Unit = {

    println("==============九九乘法表===============")

    for (i <- 1 to 9; j <- 1 to i) {
      print(s"$j * $i = ${i*j}\t")
      if (i == j) println()
    }

  }

}
